package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.FileData;
import com.ruoyi.system.domain.FileDataExample;
import com.ruoyi.system.domain.FileDataVm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileDataMapper {
    int countByExample(FileDataExample example);

    int deleteByExample(FileDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FileData record);

    int insertSelective(FileData record);

    List<FileData> selectByExample(FileDataExample example);

    FileData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FileData record, @Param("example") FileDataExample example);

    int updateByExample(@Param("record") FileData record, @Param("example") FileDataExample example);

    int updateByPrimaryKeySelective(FileData record);

    int updateByPrimaryKey(FileData record);

    List<FileData> selectFileDataList(FileDataVm fileData);

    int insertFileData(FileData fileData);

    FileData getfileNameObj(@Param("originalFilename") String originalFilename);
}